package com.coolzeng.service;

import com.coolzeng.entity.Post;

import java.util.List;

/**
 * Created by Administrator on 2017/6/9.
 */
public interface PostService {
    Post Getpost(int id);
    //查找所有帖子
    List <Post> selectAllPost();

    //返回表中数据数量
    int getPostCount();

    //新建帖子
    Void instrt(Post post);


}
